﻿using Abp.Domain.Entities.Auditing;
using KDS.Mes.Mes.Cartypes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KDS.Mes.Mes.Alcs
{
    /// <summary>
    /// ALC信息
    /// </summary>
    [Table("T_BomALC")]
    public class Alc : FullAuditedEntity
    {
        
        [ForeignKey("CartypeId")]
        public virtual Cartype Cartype { get; set; }
        /// <summary>
        /// 所属车型
        /// </summary>
        public virtual int CartypeId { get; set; }

        /// <summary>
        /// ALC代码
        /// </summary>
        [Required]
        [MaxLength(20)]
        public string Code { get; set; }
    }
}
